import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/activity',
    name: 'activity',
    component: Layout,
    redirect: '/activity/table',
    meta: { title: { zh_CN: '活动管理', en_US: 'User Center' }, icon: 'task' },
    children: [
      {
        path: 'create',
        name: 'ActivityCreate',
        component: () => import('@/pages/result/404/index.vue'),
        meta: { title: { zh_CN: '创建活动', en_US: 'User Center' } },
        // hide: true,
      },
      {
        path: 'table',
        name: 'ActivityTable',
        component: () => import('@/pages/result/404/index.vue'),
        // component: () => import('@/pages/user/table/index.vue'),
        meta: { title: { zh_CN: '活动列表', en_US: 'User Center' } },
      },

      {
        path: 'update',
        name: 'ActivityUpdate',
        component: () => import('@/pages/result/404/index.vue'),
        // component: () => import('@/pages/user/update/index.vue'),
        meta: { title: { zh_CN: '编辑活动', en_US: 'User Edit' } },
        hide: true,
      },
    ],
  },
];
